/*
 * @Descripttion: 老师模块接口地址
 * @version: 
 * @Author: hzx
 * @Date: 2021-03-06 15:12:14
 * @LastEditors: hzx
 * @LastEditTime: 2021-03-06 21:40:52
 */
module.exports = app => {
    const { router, controller } = app;
    router.get('/teacher/index', controller.user.teacher.index);
    router.get('/teacher/getTeachers', controller.user.teacher.getTeachers);
    router.get('/teacher/selectTeacherId/:t_id',controller.user.teacher.selectTeacherId);
    router.get('/teacher/selectDevname',controller.user.teacher.selectDevname);
    router.post('/teacher/insterTeacher',controller.user.teacher.insterTeacher);
    router.post('/teacher/updateTeacher',controller.user.teacher.updateTeacher);
    router.get('/teacher/delTeacher/:t_id',controller.user.teacher.delTeacher);
}